home *** CD-ROM | disk | FTP | other *** search
- var scrolj=0;
- var hms=125; //╤ΩεΩα ±Ω≡εδΦ≥ⁿ!!! ╚τ∞σφσφΦσ Γ√τεΓσ≥ Φτ∞σφσφΦσ ±Ωε≡ε±≥Φ ±Ω≡εδδΦφπα.
- var scrsetspd=10; //┬σδΦ≈Φφα ±∞σ∙σφΦ ∩≡Φ ∩≡εΩ≡≤≥Ωσ
- var scrTout=1; //╫α±≥ε≥α Φτ∞σφσφΦ ∩≡Φ ∩≡εΩ≡≤≥Ωσ
- var tScrl;
- var curPos=0;
-
- function scrolldone(){ //╟αΓσ≡°σφΦσ ±Ω≡εδδΦφπα
- window.clearInterval(tScrl);
- }
-
- function scrol(){ //╘≤φΩ÷Φ ∩≡εΩ≡≤≥ΩΦ
- curPos=parent.nextplace.next.document.body.scrollTop+scrspd;
- parent.nextplace.next.window.scroll(0, curPos);
- }
-
- function scrolInt(){ //╟αΣαφΦσ Φφ≥σ≡Γαδα ∩≡εΩ≡≤≥ΩΦ
- tScrl=window.setInterval("scrol()", scrTout, "JavaScript")
- }
-
- function scrollup(){ //╩≡≤≥Φ≥ⁿ ΓΓσ≡⌡
- if(slowscrol=1){
- scrspd=-scrsetspd;
- scrolInt();
- }}
-
- function scrolldown(){ //╩≡≤≥Φ≥ⁿ ΓφΦτ
- if(slowscrol=1){
- scrspd=scrsetspd;
- scrolInt();
- }}
-
- function scrolljup(){ //╩≡≤≥Φ≥ⁿ ≡στΩε ΓΓσ≡⌡
- scrolldone();
- if (scrolj>0){
- scrolj=scrolj-hms;
- }
- parent.nextplace.next.scroll(0,scrolj);
- }
-
- function scrolljdown(){ //╩≡≤≥Φ≥ⁿ ≡στΩε ΓφΦτ
- scrolldone();
- scrolj=scrolj+hms;
- parent.nextplace.next.scroll(0,scrolj);
- }